<template>
  <!-- 关联维表名 -->
  <div class="tables-content" v-if="itemData && itemData.data">
    <el-select v-model="selectdField" placeholder="请选择">
      <el-option
        v-for="item in itemData.data"
        :key="item.value"
        :label="item.label"
        :value="item.value"
      >
      </el-option>
    </el-select>
  </div>
</template>

<script>
export default {
  props: {
    itemData: Object,
  },
  data() {
    return {
      selectdField: "",
    };
  },
};
</script>

<style scoped>
.grid-content.tables .tables-content {
  position: absolute;
  margin: auto;
  top: 0px;
  bottom: 0;
  height: 30px;
  width: 23.5%;
  top: -4px;
}
/* 关联维表名 */
.tables-content:after {
  position: absolute;
  content: "";
  width: 15px;
  height: 1px;
  background-color: #ccc;
  right: -20px;
  top: 19.5px;
}
</style>